﻿using System;
using System.Collections;
using visinia.SmartEngine.Modules;

public partial class Modules_General_HtmlBox_Settings : WebSettingsModule
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //Editor.Text = (string)Settings["HTML"];
            Editor.Value = (string)Settings["HTML"];            
        }
    }

    public override void SaveSettings(Hashtable data)
    {
        AddSetting("HTML", (string)data["Editor"]);
    }
}
